<sca:composite name="HornetQServiceExample" targetNamespace="urn:userguide:hornetq-example-service:0.1.0"> <sca:service name="HornetQService" promote="SomeService"> <hornetq:binding.hornetq> <hornetq:operationSelector operationName="greet"/> <hornetq:config> <hornetq:connector> <hornetq:factoryClass>org.hornetq.core.remoting.impl.invm.InVMConnectorFactory</hornetq:factoryClass> </hornetq:connector> <hornetq:queue>jms.queue.ServiceQueue</hornetq:queue> </hornetq:config> </hornetq:binding.hornetq> </service> <!-- sca:component definition omitted --> </sca:composite>